<div class="page-nav">
    <span class="page-nav-links">
    <?php $val = $paginator->first('<< First'); if(!$val) $val = '&lt;&lt; First'; echo $val; ?>
    <?php $val = $paginator->prev('< Previous'); if(!$val) $val = '&lt; Previous'; echo $val; ?>
    <?php $val = $paginator->next('Next >'); if(!$val) $val = 'Next &gt;'; echo $val; ?>
    <?php $val = $paginator->last('Last >>'); if(!$val) $val = 'Last &gt;&gt;'; echo $val; ?>
    </span>
    <span class="page-nav-stats">
    <?php echo $paginator->counter(array('format' => 'Page %page% of %pages%')) ?>
    </span>
</div>
